<!DOCTYPE html>
<html><!--STATUS OK--><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script charset="utf-8" async="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/snippetcacher.js"></script><script charset="utf-8" async="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/snippetcacher_002.js"></script><meta http-equiv="X-UA-Compatible" content="IE=Edge"><meta charset="utf-8"><title>ubuntu14.04安装nodejs基础环境_百度经验</title><link rel="shortcut icon" href="https://jingyan.baidu.com/favicon.ico?v=2" type="image/x-icon"><link rel="icon" sizes="any" mask="" href="https://www.baidu.com/img/baidu.svg"><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/hm.js"></script><script>
    window.alogObjectConfig = {
        sample: '0.04', 
 
        product: '132',  
        page: '132_1509',  
 
        speed: {
            sample: '0.04'   
        },
 
        monkey: {
            sample: '0.04'   
        },
 
        exception: { 
            sample: '0.04'   
        },
 
        feature: {
            sample: '0.04'   
        },
 
        cus: {
            sample: '0'   
        },
 
        csp: {
            sample: '0.04',  
            'default-src': [
                {match: '*bae.baidu.com', target: 'Accept,Warn'},
                {match: '*.baidu.com,*.bdstatic.com,*.baidustatic.com,*.baiduimg.com,*.bdimg.com,localhost,*.hao123.com,*.hao123img.com,*.baidubce.com', target: 'Accept'},
                {match: /^(127|172|192|10)(\.\d+){3}$/, target: 'Accept'},
                {match: '*', target: 'Accept,Warn'}
            ]
        }
    };
 
     void function(a,b,c,d,e,f,g){a.alogObjectName=e,a[e]=a[e]||function(){(a[e].q=a[e].q||[]).push(arguments)},a[e].l=a[e].l||+new Date,d="https:"===a.location.protocol?"https://fex.bdstatic.com"+d:"http://fex.bdstatic.com"+d;var h=!0;if(a.alogObjectConfig&&a.alogObjectConfig.sample){var i=Math.random();a.alogObjectConfig.rand=i,i>a.alogObjectConfig.sample&&(h=!1)}h&&(f=b.createElement(c),f.async=!0,f.src=d+"?v="+~(new Date/864e5)+~(new Date/864e5),g=b.getElementsByTagName(c)[0],g.parentNode.insertBefore(f,g))}(window,document,"script","/hunter/alog/alog.min.js","alog"),void function(){function a(){}window.PDC={mark:function(a,b){alog("speed.set",a,b||+new Date),alog.fire&&alog.fire("mark")},init:function(a){alog("speed.set","options",a)},view_start:a,tti:a,page_ready:a}}();
    void function(n){var o=!1;n.onerror=function(n,e,t,c){var i=!0;return!e&&/^script error/i.test(n)&&(o?i=!1:o=!0),i&&alog("exception.send","exception",{msg:n,js:e,ln:t,col:c}),!1},alog("exception.on","catch",function(n){alog("exception.send","exception",{msg:n.msg,js:n.path,ln:n.ln,method:n.method,flag:"catch"})})}(window);
</script>
<meta name="keywords" content="ubuntu14.04安装nodejs基础环境,ubuntu14.04nodejs,互联网,游戏/数码"><meta name="description" content="ubuntu14.04安装nodejs基础环境,本篇主要介绍如何在uutu14.04下安装配置odej环境。"><script type="text/javascript">!function(){var n={},e={};n.context=function(n,r){var t=arguments.length;if(t>1)e[n]=r;else if(1==t){if("object"!=typeof n)return e[n];for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i])}else if(0==t)return e},"F"in window||(window.F=n)}();;</script><!--[if lt IE 9]><script type="text/javascript" src="/static/common/tool/html5.js"></script><![endif]--><script type="text/javascript">var arrBaiduAds = [],bdAdsPrefix = '___bd_ads__',effBaiduAds = []; function BaiduAdsDisplay(index, wrapId) { if(typeof(arrBaiduAds[index])!="undefined" && arrBaiduAds[index]!=""){ effBaiduAds.push(index); document.write('<div id="'+ bdAdsPrefix + index + '">' + arrBaiduAds[index] + '</div>'); } }</script><script>var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?46c8852ae89f7d9526f0082fafa15edd"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();</script><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_sync_css_0_07e4ab4.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_async_css_0_c8d78e9.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/article_sync_css_0_ad2a20a.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/audio_8b17de9.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/custom-style_7852bbf.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/accuse_a9338e9.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/article_async_css_0_f358e82.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/redbox_9454f10.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/userbar_df8ff91.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/special-msg_ef1eb33.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/go-and-see_d818767.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/douniwan_6ec14e6.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/school2016_b4c6cb1.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/badge_2385538.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/super-2016_46f8488.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/marathon_d00c0a0.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/redbox-video_68a545b.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/prize2017_99af780.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/msg_8ee3316.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/amazing-2016_b458231.css"><link rel="stylesheet" type="text/css" href="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/jquery-ui_b267e37.css"><script> 
	if(typeof(alog) !== 'undefined') {
		alog('speed.set', 'ht', +new Date); 
	}
</script><script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_async_js_1_27a4959.js"></script><script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/log_c6b7001.js"></script><script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/article_async_js_0_736b9a6.js"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/zh-cn.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/logger_6fca90e.js"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/link.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/image.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/video.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/map.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/formula.js" type="text/javascript" defer="defer"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/emotion.js" type="text/javascript" defer="defer"></script><link rel="stylesheet" type="text/css"></head>
<body spellcheck="false"><div id="BAIDU_DUP_fp_wrapper" style="position: absolute; left: -1px; bottom: -1px; z-index: 0; width: 0px; height: 0px; overflow: hidden; visibility: hidden; display: none;"><iframe id="BAIDU_DUP_fp_iframe" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/o.html" style="width: 0px; height: 0px; visibility: hidden; display: none;"></iframe></div><iframe style="display: none;" frameborder="0"></iframe><div id="bdshare_s" style="display: block;"><iframe id="bdsIfr" style="position:absolute;display:none;z-index:9999;" frameborder="0"></iframe><div id="bdshare_l" style="display: none;"><div id="bdshare_l_c"><h6>分享到</h6><ul><li><a href="#" class="bds_mshare mshare">一键分享</a></li><li><a href="#" class="bds_qzone qqkj">QQ空间</a></li><li><a href="#" class="bds_tsina xlwb">新浪微博</a></li><li><a href="#" class="bds_bdysc bdysc">百度云收藏</a></li><li><a href="#" class="bds_renren rrw">人人网</a></li><li><a href="#" class="bds_tqq txwb">腾讯微博</a></li><li><a href="#" class="bds_bdxc bdxc">百度相册</a></li><li><a href="#" class="bds_kaixin001 kxw">开心网</a></li><li><a href="#" class="bds_tqf txpy">腾讯朋友</a></li><li><a href="#" class="bds_tieba bdtb">百度贴吧</a></li><li><a href="#" class="bds_douban db">豆瓣网</a></li><li><a href="#" class="bds_tsohu shwb">搜狐微博</a></li><li><a href="#" class="bds_bdhome bdhome">百度新首页</a></li><li><a href="#" class="bds_sqq sqq">QQ好友</a></li><li><a href="#" class="bds_thx thx">和讯微博</a></li><li><a href="#" class="bds_more">更多...</a></li></ul><p><a href="#" class="goWebsite">百度分享</a></p></div></div></div><script type="text/javascript">var screen_width = parseInt(window.screen.width); if(screen_width < 1200){ document.write('<div class="small-screen">'); }else{ document.write('<div class="wide-screen">'); }</script><div class="wide-screen"><header class="header"><div id="usrbar" class="userbar"><div class="my-info menu-hide" onmouseover="this.className='my-info menu-show'" onmouseout="this.className='my-info menu-hide'"><span><a href="http://www.baidu.com/p/hwf452?from=jingyan" target="_blank" id="username" class="g-un" enable="false">hwf452<i class="i-arrow-down"></i></a></span><div class="dropdown-menu"><a href="http://i.baidu.com/?from=jingyan" target="_blank" id="user-my-home">我的主页</a><a href="http://passport.baidu.com/center" target="_blank" id="username">帐号设置</a><a href="http://passport.baidu.com/?logout&amp;aid=7&amp;u=https%3A//jingyan.baidu.com/article/6181c3e080f979152ef15387.html" id="usrbar-logout">退出</a></div></div>&nbsp;|&nbsp;<span><a id="my-home-exp" href="https://jingyan.baidu.com/user/nuc" target="_blank" log="type:100,pos:usrbar">我的经验</a></span>&nbsp;|&nbsp;<span><a id="my-income" href="https://jingyan.baidu.com/user/nuc/income" target="_blank">我的收入</a></span>&nbsp;|&nbsp;<span id="mnum"><a href="http://jingyan.baidu.com/msg" class="bluelink" target="_blank">私信</a>(0)</span>&nbsp;|&nbsp;<span><a href="http://www.baidu.com/" target="_blank">百度首页</a>&nbsp;</span></div><div id="top-search-box" class="top-search-box"><div class="inner-warp"><div class="s-nav"><a class="logo" href="https://jingyan.baidu.com/"><img src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/logo_1e63520.png" alt="百度经验" height="46" width="137"></a><ul class="channel"><li><a href="http://news.baidu.com/" log="type:3100,menu:1" rel="nofollow" index="0">新闻</a></li><li><a href="http://www.baidu.com/" log="type:3100,menu:2" rel="nofollow" index="1">网页</a></li><li><a href="http://tieba.baidu.com/" log="type:3100,menu:3" rel="nofollow" index="2">贴吧</a></li><li><a href="http://zhidao.baidu.com/" log="type:3100,menu:4" index="3">知道</a></li><li><strong>经验</strong></li><li><a href="http://music.baidu.com/" log="type:3100,menu:5" rel="nofollow" index="4">音乐</a></li><li><a href="http://image.baidu.com/" log="type:3100,menu:6" rel="nofollow" index="5">图片</a></li><li><a href="http://video.baidu.com/" log="type:3100,menu:7" rel="nofollow" index="6">视频</a></li><li><a href="http://map.baidu.com/" log="type:3100,menu:8" rel="nofollow" index="7">地图</a></li><li><a href="http://baike.baidu.com/" log="type:3100,menu:9" rel="nofollow" index="8">百科</a></li><li><a href="http://wenku.baidu.com/" log="type:3100,menu:10" rel="nofollow" index="9">文库</a></li></ul></div><form action="/search" name="top-search-form" method="get" id="top-search-form" class="top-search-form"><div class="box"><span class="s-ipt-wr"><input x-webkit-speech="" x-webkit-grammar="bUIltin:search" class="hdi" id="kw" autocomplete="off" maxlength="256" tabindex="1" size="46" name="word"></span><span class="s-btn-wr"><input class="s-btn" id="sb" value="搜索经验" type="submit"></span><span class="s-tools"><a href="http://www.baidu.com/search/jingyan_help.html" target="_blank" rel="nofollow">帮助</a></span><div class="clearfix"></div></div></form></div></div></header><nav class="wgt-common-nav"><div id="nav-wrap" class="nav-wrap"><ul class="main-menu" alog-group="main-menu"><li class=""><a href="https://jingyan.baidu.com/" log="type:2000,pos:common_menu,menu:1" target="_self">首页</a></li><li id="all-category-e" class="all-category"><a href="javascript:void(0)" log="type:2000,pos:common_menu,menu:7" id="all-category-a-e" class="cat-flag">分类</a><span id="dir-icon-e" class="dir-icon cat-flag"></span></li><li class=""><a href="https://jingyan.baidu.com/magazine/home" log="type:2000,pos:common_menu,menu:2" target="_blank">杂志</a></li><li id="all-task-e" class="all-task "><a href="https://jingyan.baidu.com/task" target="_blank" log="type:2000,pos:common_menu,menu:3" rel="nofollow" id="all-task-a-e">任务</a><span id="dir-icon-e1" class="dir-icon cat-flag"></span></li><li class=""><a href="https://jingyan.baidu.com/usersign" log="type:2000,pos:common_menu,menu:8" target="_blank">签到</a></li><li class=""><a href="https://jingyan.baidu.com/user/income" target="_blank" log="type:2000,pos:common_menu,menu:6" rel="nofollow">回享计划</a></li><li class=""><a href="https://jingyan.baidu.com/shop" log="type:2000,pos:common_menu,menu:9" target="_blank">商城</a></li><li class=""><a href="https://jingyan.baidu.com/fancier/list/0" log="type:2000,pos:common_menu,menu:10" target="_blank">发烧友</a></li><li class="last"><a class="last" href="http://zhidao.baidu.com/" log="type:2000,pos:common_menu,menu:10" target="_blank">知道</a></li></ul><a href="http://jingyan.baidu.com/edit/content" target="_blank" class="share-exp-e" id="share-exp-e" rel="nofollow"></a><ul class="category-list" id="category-list-e" style="display: none;"><li class="first-line"><a href="https://jingyan.baidu.com/list/1" log="type:2000,pos:common_menu,menu:7" target="_blank">美食/营养</a></li><li class="even first-line"><a href="https://jingyan.baidu.com/list/10" log="type:2000,pos:common_menu,menu:7" target="_blank">游戏/数码</a></li><li><a href="https://jingyan.baidu.com/list/37" log="type:2000,pos:common_menu,menu:7" target="_blank">手工/爱好</a></li><li class="even"><a href="https://jingyan.baidu.com/list/50" log="type:2000,pos:common_menu,menu:7" target="_blank">生活/家居</a></li><li><a href="https://jingyan.baidu.com/list/73" log="type:2000,pos:common_menu,menu:7" target="_blank">健康/养生</a></li><li class="even"><a href="https://jingyan.baidu.com/list/86" log="type:2000,pos:common_menu,menu:7" target="_blank">运动/户外</a></li><li><a href="https://jingyan.baidu.com/list/93" log="type:2000,pos:common_menu,menu:7" target="_blank">职场/理财</a></li><li class="even"><a href="https://jingyan.baidu.com/list/101" log="type:2000,pos:common_menu,menu:7" target="_blank">情感/交际</a></li><li class="last-line"><a href="https://jingyan.baidu.com/list/108" log="type:2000,pos:common_menu,menu:7" target="_blank">母婴/教育</a></li><li class="even last-line"><a href="https://jingyan.baidu.com/list/123" log="type:2000,pos:common_menu,menu:7" target="_blank">时尚/美容</a></li></ul><ul class="task-list" id="task-list-e" style="display: none;"><li class="first-line"><a href="https://jingyan.baidu.com/patch" target="_blank">悬赏令</a></li><li class="last-line"><a href="https://jingyan.baidu.com/task" target="_blank">小蓝本</a></li></ul></div></nav><section class="body-wrapper"><div class="breadcrumb" id="breadcrumb"><div class="bread-wrap" id="bread-wrap"><a href="https://jingyan.baidu.com/">百度经验</a>&nbsp;&gt;&nbsp;<a href="https://jingyan.baidu.com/list/10">游戏/数码</a>&nbsp;&gt;&nbsp;互联网</div></div><div class="content-container clearfix"><div class="main-content" id="main-content"><article id="exp-article" class="exp-article"><div class="exp-title clearfix"><h1 title="ubuntu14.04安装nodejs基础环境">ubuntu14.04安装nodejs基础环境<div class="audio-wp audio-wp-1" data-text="ubuntu14.04安装nodejs基础环境本篇主要介绍如何在ubuntu14.04下安装配置nodejs环境。" data-for="" data-index="0" style="display: inline-block;"><span class="audio-inner"><span class="audio-icon"></span><span class="audio-icon-2"></span><span class="audio-icon-3"></span></span><span class="desc">听语音</span></div></h1><ul class="exp-info"><li><span class="ico-ori"></span></li><li class="blank">|</li><li>浏览：<span class="views">3186</span></li><li class="blank">|</li><li>更新：<time>2015-10-26 20:50</time></li></ul></div><div class="wgt-thumbs clearfix" alog-group="wgt-thumbs"><ul><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=1"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/58ee3d6d55fbb2fbea37ea8e494a20a44623dc0a.png" style=""></a><span class="shdow"></span><span class="step">1</span></div></li><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=2"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/2f738bd4b31c870188276378217f9e2f0608ff9f.png" style=""></a><span class="shdow"></span><span class="step">2</span></div></li><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=3"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/dcc451da81cb39dbf982d7cad6160924aa1830ef.png" style=""></a><span class="shdow"></span><span class="step">3</span></div></li><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=4"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/91ef76c6a7efce1b9f597856a951f3deb48f653f_002.png" style=""></a><span class="shdow"></span><span class="step">4</span></div></li><li class=""><div class="zoom-wrap" style="top: 0px; left: 0px;"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=5"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/63d0f703918fa0ecabd9d791209759ee3d6ddb14.png" style="height: 50px; width: 67px;"></a><span class="shdow"></span><span class="step">5</span></div></li><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=6"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/bd315c6034a85edf9ffe4ebf4f540923dd54753f.png" style=""></a><span class="shdow"></span><span class="step">6</span></div></li><li><div class="zoom-wrap"><a href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=7"><img class="" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/21a4462309f790522901f4a20af3d7ca7bcbd514.png" style=""></a><span class="shdow"></span><span class="step">7</span></div></li></ul><a class="step-read" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html">分步阅读<span></span></a></div><script>
    void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new 
Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new
 Date})},s=0;s< n.length;s++)!function(){var 
e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);
</script>
<div alog-group="exp-content" class="exp-content format-exp" id="format-exp"><span class="_copr">百度经验:jingyan.baidu.com</span><div class="exp-content-block"><div class="exp-content-body exp-brief-step"><div class="exp-content-listblock"><div class="content-listblock-text"><p>本篇主要介绍如何在ubuntu14.04下安装配置nodejs环境。</p></div></div></div></div><span class="_copr">百度经验:jingyan.baidu.com</span><div class="exp-content-block"><h2 class="exp-content-head"><a href="javascript:;" name="section-2"></a>工具/原料<div class="audio-wp audio-wp-2" data-text="" data-for="" data-index="1" style="display: inline-block;"><span class="audio-inner"><span class="audio-icon"></span><span class="audio-icon-2"></span><span class="audio-icon-3"></span></span><span class="desc"></span></div></h2><div class="exp-content-body"><ul class="exp-content-unorderlist "><li class="exp-content-list list-item-1"><div class="content-list-text">nodejs 官方linux包</div></li><li class="exp-content-list list-item-2"><div class="content-list-text">xshell</div></li></ul></div></div><span class="_copr">百度经验:jingyan.baidu.com</span><div class="exp-content-block"><h2 class="exp-content-head"><a href="javascript:;" name="section-3"></a>方法/步骤<div class="audio-wp audio-wp-2" data-text="" data-for="" data-index="2" style="display: inline-block;"><span class="audio-inner"><span class="audio-icon"></span><span class="audio-icon-2"></span><span class="audio-icon-3"></span></span><span class="desc"></span></div></h2><div class="exp-content-body"><ol class="exp-conent-orderlist"><li class="exp-content-list list-item-1"><div class="list-icon" style="visibility: hidden;">1</div><div class="content-list-text"><p>首先从nodejs官方网站下载对应版本的nodejs包。</p><p>本篇我们要安装的ubuntu14.04 64位系统上，固选择linux 64位版本。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=1" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/58ee3d6d55fbb2fbea37ea8e494a20a44623dc0a_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-2"><div class="list-icon" style="visibility: hidden;">2</div><div class="content-list-text"><p>然后将包上传到ubuntu14.04服务器上。</p><p>通过xftp工具上传，待上传进度为100%时候执行下一步操作。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=2" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/2f738bd4b31c870188276378217f9e2f0608ff9f_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-3"><div class="list-icon" style="visibility: hidden;">3</div><div class="content-list-text"><p>进入上传包所在目录。（进入目录命令为:cd +目录的绝对路径）</p><p>在终端窗口输入tar -zxvf +文件名，对压缩包进行解压操作。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=3" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/dcc451da81cb39dbf982d7cad6160924aa1830ef_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-4"><div class="list-icon" style="visibility: visible;">4</div><div class="content-list-text"><p>将解压后的文件夹内容移动到我们想要的目录。</p><p>本篇，我们将文件夹内容移动到了/usr/local/node目录下。</p><p>然后更改node文件夹内容权限为755。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=4" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/91ef76c6a7efce1b9f597856a951f3deb48f653f.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=5" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/63d0f703918fa0ecabd9d791209759ee3d6ddb14_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-5"><div class="list-icon" style="visibility: visible;">5</div><div class="content-list-text"><p>然后进入node文件夹目录。进入bin目录下。</p><p>执行脚本./node -v 或者./npm -v都可正常显示版本信息。</p><p>我们对node基本安装已经完成。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=6" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/bd315c6034a85edf9ffe4ebf4f540923dd54753f_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-6"><div class="list-icon" style="visibility: visible;">6</div><div class="content-list-text"><p>如果我们想在任意路径下都能执行node命令，则需配置环境变量。</p><p>首先执行命令nano ~/.bashrc，对此文件进行修改。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=7" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/21a4462309f790522901f4a20af3d7ca7bcbd514_002.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-7"><div class="list-icon" style="visibility: visible;">7</div><div class="content-list-text"><p>在文件末尾，添加两行</p><p>export NODE=/usr/local/node</p><p>export PATH=${NODE}/bin:$PATH</p><p>然后执行保存。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=8" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/838ba61ea8d3fd1f697b12a6364e251f95ca5f3f.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div></li><li class="exp-content-list list-item-8"><div class="list-icon" style="visibility: visible;">8</div><div class="content-list-text"><p>执行命令source&nbsp;~/.bashrc。</p><p>然后任意路径下执行node -v可以看到已经可以返回版本信息了。</p><p>至此，nodejs基础环境全部配置完毕。</p></div><div class="content-list-media"><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=9" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/79f0f736afc37931642a36b5edc4b74542a911ef.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div><div class="content-list-image clearfix"><a class="exp-image-wraper" href="http://jingyan.baidu.com/album/6181c3e080f979152ef15387.html?picindex=10" log="type:20150831,pos:enter_step,expGroup:G3" target="_self"><img class="exp-image-default" alt="ubuntu14.04安装nodejs基础环境" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/42a98226cffc1e17fcfd3cad4c90f603728de9e8.png" style=""><span class="exp-album-enter-mask"></span><span class="enter-step-btn">步骤阅读</span></a></div></div><div class="last-item"><span class="last-item-end">END</span></div></li></ol></div></div><span class="_copr">百度经验:jingyan.baidu.com</span><div class="exp-content-block"><h2 class="exp-content-head"><a href="javascript:;" name="section-4"></a>注意事项<div class="audio-wp audio-wp-2" data-text="" data-for="" data-index="3" style="display: inline-block;"><span class="audio-inner"><span class="audio-icon"></span><span class="audio-icon-2"></span><span class="audio-icon-3"></span></span><span class="desc"></span></div></h2><div class="exp-content-body"><ul class="exp-content-unorderlist "><li class="exp-content-list list-item-1"><div class="content-list-text">本篇前面安装解压node适用于所有linux环境，后面环境变量配置依据不同版本不同配置方式。</div></li><li class="exp-content-list list-item-2"><div class="content-list-text">4.2.1版本node依赖python2.6或者python2.7。</div></li></ul></div></div><div id="auto-app-placehold"></div><div class="prompt"><span class="prompt-ico"></span>经验内容仅供参考，如果您需解决具体问题(尤其法律、医学等领域)，建议您详细咨询相关领域专业人士。</div><div class="f12 origin-notice" data-test="1"><a href="javascript:void(0)" id="report-t-exp" class="jubao" target="_blank" rel="nofollow">举报</a><span class="i-original"></span><span><em>作者声明：</em>本篇经验系本人依照真实经历原创，未经许可，谢绝转载。</span></div></div></article><div id="wgt-comments" class="wgt-comments"><div class="cmt-btn-w clearfix"><div class="vote-btn-wrp"><div id="cmt-btn-vote" class="cmt-btn cmt-btn-vote"><div class="btn-bg btn-l-bg"></div><div class="btn-bg btn-m-bg"><span class="a-t">投票<span class="a-num">(6)</span></span><span class="a-h">已投票(<span id="v-a-num" class="a-num">6</span>)</span></div><div class="btn-r-bg"></div></div><span id="a-a" class="a-a" style="display:none;">+1</span></div><div class="hads-btn-wrp"><div id="cmt-btn-hads" class="cmt-btn cmt-btn-hads"><div class="btn-bg btn-l-bg"></div><div class="btn-bg btn-m-bg"><span class="a-t">有得<span class="a-num">(0)</span></span></div><div class="btn-r-bg"></div></div></div><div class="ques-btn-wrp"><div id="cmt-btn-ques" class="cmt-btn cmt-btn-ques"><div class="btn-bg btn-l-bg"></div><div class="btn-bg btn-m-bg"><span class="a-t">我有疑问<span class="a-num">(0)</span></span></div><div class="btn-bg btn-r-bg"></div></div></div></div><div id="vote-box-e" class="reply-box vote-box" style="display: none;"><div class="reply-arrow"><em>◆</em><span>◆</span></div><div class="reply-outter"><p class="v-tit">说说为什么给这篇经验投票吧！</p><ul class="v-extra clearfix"><li><a class="intr-txt" href="">写的太赞</a></li><li><a class="intr-txt" href="">帮到了我</a></li><li><a class="intr-txt" href="">作者很棒</a></li><li><a class="intr-txt" href="">因为任性</a></li></ul><p class="v-ipt"><textarea id="v-ipt-txt" type="text" class="v-ipt-txt"></textarea><label class="placeholder" for="v-ipt-txt">我为什么投票...</label></p><p class="vote-spt"><input id="v-sub-btn" class="v-sub-btn" value="发布" type="submit"><span id="vote-tip-span" class="vote-tip-span">你还可以输入500字</span></p></div></div><div id="hads-box-e" class="reply-box hads-box" style="display: none;"><div class="reply-arrow"><em>◆</em><span>◆</span></div><div class="reply-outter"><div class="ipt-hads-box"><div class="hads-ipt"><div class="edui-container" style="width: 646px; z-index: 999;"><div class="edui-toolbar"><div class="edui-btn-toolbar" unselectable="on" onmousedown="return false"><div class="edui-btn edui-btn-emotion " unselectable="on" onmousedown="return false" data-original-title="表情"> <div unselectable="on" class="edui-icon-emotion edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-image " unselectable="on" onmousedown="return false" data-original-title="图片"> <div unselectable="on" class="edui-icon-image edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false" style="z-index: 1000;"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div></div><div class="edui-dialog-container"></div></div><div class="edui-editor-body"><div style="width: 626px; min-height: 90px; z-index: 999;" id="feel-editor" class=" edui-body-container" contenteditable="true"><p><br></p></div></div><label class="placeholder">看了这篇经验，你有一些独到的心得要分享给大家?<br>或是，你按照作者的指导，做出了一模一样，甚至更棒的结果？<br>不管是“有心得”，还是“有所得”，都快分享给经验的小伙伴们看看吧！</label></div><div id="feel-editor-cp"></div></div><p class="hads-spt"><input id="hads-sub-btn" disabled="true" class="hads-sub-btn hads-dis-btn" value="发布" type="submit"><span class="had-dis-tip">非回享用户暂时不能发布经验“有得”&nbsp;<a target="_blank" href="https://jingyan.baidu.com/user/income">如何加入回享？</a></span><span id="had-tip-span" class="had-tip-span">你还可以输入1000字</span></p></div><div id="hads-list" class="hads-list"></div></div></div><div id="ques-box-e" class="reply-box ques-box" style="display: none;"><div class="reply-arrow"><em>◆</em><span>◆</span></div><div class="reply-outter"><div class="ipt-ques-box"><p class="ques-ipt"><textarea id="ques-ipt-txt" type="text" class="ques-ipt-txt"></textarea><label class="placeholder" for="ques-ipt-txt">如对这篇经验有疑问，可反馈给作者，经验作者会尽力为您解决！</label></p><p class="ques-spt"><input id="ques-sub-btn" class="ques-sub-btn" value="提交疑问" type="submit"><span id="que-tip-span" class="que-tip-span">你还可以输入500字</span></p></div><div id="ques-list" class="ques-list"></div></div></div></div><div class="main-content-bottom"><div id="relate-explist" class="exp-item-list"><h3 class="clearfix"><a href="" id="change-relate-exp" class="right change-relate-exp" log="type:2019, pos:relate_change, page:article">换一批</a>相关经验</h3><ul alog-group="relate-explist" id="relate-explist-container"><li class="related-exp-link"><a href="https://jingyan.baidu.com/article/546ae1851c6ac81149f28c9a.html" target="_blank" log="type:2019,module:article,page:article,pos:relate_title,action:click,expGroup:G3">ubuntu14.04 xfce桌面环境安装配置</a><em class="has-img"></em><span class="exp-vote-num"><span class="vote-ico"></span>4</span><span class="exp-date">2014.08.14</span></li><li class="related-exp-link"><a href="https://jingyan.baidu.com/article/25648fc18ee5bd9190fd0058.html" target="_blank" log="type:2019,module:article,page:article,pos:relate_title,action:click,expGroup:G3">Linux(ubuntu16.04)下安装nodejs及配置环境变量</a><span class="exp-vote-num"><span class="vote-ico"></span>1</span><span class="exp-date">2016.05.05</span></li><li class="related-exp-link"><a href="https://jingyan.baidu.com/article/a948d6515d4c850a2dcd2e18.html" target="_blank" log="type:2019,module:article,page:article,pos:relate_title,action:click,expGroup:G3">nodejs安装及环境配置（windows系统）</a><em class="has-img"></em><span class="exp-vote-num"><span class="vote-ico"></span>41</span><span class="exp-date">2014.01.20</span></li><li class="related-exp-link"><a href="https://jingyan.baidu.com/article/3aed632e0c88fd70108091b2.html" target="_blank" log="type:2019,module:article,page:article,pos:relate_title,action:click,expGroup:G3">eclipse安装nodeclipse(nodejs集成开发环境)</a><em class="has-img"></em><span class="exp-vote-num"><span class="vote-ico"></span>11</span><span class="exp-date">2015.10.25</span></li><li class="related-exp-link"><a href="https://jingyan.baidu.com/article/fcb5aff7b0dc26edaa4a71f4.html" target="_blank" log="type:2019,module:article,page:article,pos:relate_title,action:click,expGroup:G3">ubuntu14.10安装gnome桌面环境和dock工具</a><em class="has-img"></em><span class="exp-vote-num"><span class="vote-ico"></span>9</span><span class="exp-date">2014.12.09</span></li></ul></div><div class="bottom-ads-container" id="bottom-ads-container"><div class="bottom-text-ads" id="bottom-text-ads-wrap"></div><div class="bottom-pic-ads" id="BAIDU_AD_706067"><script>(function()
 { var s = "_" + Math.random().toString(36).slice(2); 
document.write('<div id="' + s + '"></div>'); 
(window.slotbydup=window.slotbydup || []).push({ id: '3317661', 
container: s, size: '580,90', display: 'inlay-fix' }); })();</script><div id="_75rufuyngki"><iframe id="iframe3317661_0" onload="BAIDU_SSP_cacheRequest('1f7939db959901df', this);" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/acom.html" vspace="0" hspace="0" marginwidth="0" marginheight="0" scrolling="no" style="border:0;vertical-align:bottom;margin:0;width:580px;height:90px" allowtransparency="true" align="center,center" height="90" frameborder="0" width="580"></iframe></div><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/os.js"></script><script charset="utf-8" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/acom_002"></script></div></div></div></div><aside class="main-aside" id="aside"><div class="wgt-income-money"><div class="income-title"></div><div class="income-money"><span>今日支出</span><div id="income-money-num" class="income-money-num"><div class="digital-container clearfix"><span class="num0" style="background-position: 0px -290px;"></span><span class="num0" style="background-position: 0px -464px;"></span><span class="num0" style="background-position: 0px -377px;"></span></div></div><span>元</span></div><a href="https://jingyan.baidu.com/user/income" target="_blank" class="link" log="type:2019,module:article,page:article,pos:income-money,action:click">写经验 有钱赚 &gt;&gt;</a></div><div class="aside-wrap"><div id="wgt-author" class="wgt-author"><div class="author-wrap"><div class="author-normal"><div class="base-info clearfix"><div class="author-portrait left"><a href="https://jingyan.baidu.com/user/npublic?un=kandezuiyuan65" log="type:20150831,pos:uinfo
                ,expGroup:G3                " target="_blank" rel="nofollow"><div class="portrait-cover"></div><img src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/519d6b616e64657a75697975616e36352611.jpg"></a></div><div class="author-info left"><h2><a href="https://jingyan.baidu.com/user/npublic?un=kandezuiyuan65" log="type:20150831,pos:uinfo
                ,expGroup:G3                " title="kandezuiyuan65" target="_blank" rel="nofollow">kandezuiyuan65</a></h2><div class="icon-wrp"><div class="icon-huiz"><a class="u-icon cpm3" title="签约作者" href="https://jingyan.baidu.com/help?page=income-author" target="_blank" rel="nofollow"></a></div></div><a id="follow-user-e" log="type:20150831,pos:uinfo
                ,expGroup:G3                " class="u-follow-btn follow-btn" href="javascript:;"></a></div></div><div id="userResume" class="user-resume"><span class="u-tit">个性签名：</span>热衷技术分享，共同进步</div></div></div><div class="usr-explist"><h3>作者的经验</h3><ul alog-group="usr-explist"><li><a href="https://jingyan.baidu.com/article/9faa7231ea029e473c28cb03.html" target="_blank" title="elasticsearch常用搜索语法" log="type:2019,module:article,page:index,pos:author_title,action:click">elasticsearch常用搜索语法</a></li><li><a href="https://jingyan.baidu.com/article/db55b609d376574ba30a2f38.html" target="_blank" title="MyEclipse在线安装svn插件" log="type:2019,module:article,page:index,pos:author_title,action:click">MyEclipse在线安装svn插件</a></li><li><a href="https://jingyan.baidu.com/article/fedf0737b2947535ad897757.html" target="_blank" title="D3.js实现区域图绘制功能" log="type:2019,module:article,page:index,pos:author_title,action:click">D3.js实现区域图绘制功能</a></li><li><a href="https://jingyan.baidu.com/article/2fb0ba40930f1a00f2ec5f14.html" target="_blank" title="流量分析工具darkstat安装使用教程" log="type:2019,module:article,page:index,pos:author_title,action:click">流量分析工具darkstat安装使用教程</a></li><li><a href="https://jingyan.baidu.com/article/c910274b840b49cd361d2d12.html" target="_blank" title="linux查看进程打开的文件句柄以及如何修改教程" log="type:2019,module:article,page:index,pos:author_title,action:click">linux查看进程打开的文件句柄以及如...</a></li></ul></div></div><div class="aside-pro-container"><div class="wgt-cms-banner"><div class="cms-slide-wrap" id="cms-slide-wrap"><div class="cms-slide-img" id="cms-slide-img"><a target="_blank" log="type:cmsbanner,location:qb,menu:1,type:20151014,pos:expand
                    ,expGroup:G3                    " href="https://jingyan.baidu.com/user/income" rel="nofollow"><img alt="新回享" class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/hxjh250-160.jpg" style=""></a></div><div class="holdbar"></div></div></div><div class="aside-ads-container" id="aside-ads-container"><script>(function()
 { var s = "_" + Math.random().toString(36).slice(2); 
document.write('<div id="' + s + '"></div>'); 
(window.slotbydup=window.slotbydup || []).push({ id: '3267889', 
container: s, size: '250,250', display: 'inlay-fix' }); })();</script><div id="_ufbttya4ell"><iframe id="iframe3267889_0" onload="BAIDU_SSP_cacheRequest('8a45465ac6533933', this);" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/acom_002.html" vspace="0" hspace="0" marginwidth="0" marginheight="0" scrolling="no" style="border:0;vertical-align:bottom;margin:0;width:250px;height:250px" allowtransparency="true" align="center,center" height="250" frameborder="0" width="250"></iframe></div><script charset="utf-8" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/acom"></script><script src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/os.js"></script></div></div><span class="tousu">如要投诉，请到<a href="http://tousu.baidu.com/jingyan/add#2" class="tousu-address" target="_blank" rel="nofollow">百度经验投诉中心</a>，如要提出意见、建议，    请到<a href="http://tieba.baidu.com/f?kw=%B0%D9%B6%C8%BE%AD%D1%E9%B9%DC%C0%ED" target="_blank" rel="nofollow">百度经验管理吧</a>反馈。</span></div></aside></div><div class="line mt40"></div><div class="magzine-list"><h2 class="page-column">热门杂志</h2><div class="page-column"><ul class="clearfix" alog-group="magzine-list"><li class="first-li"><div class="m-cv"><img class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/f9dcd100baa1cd115a4ddc0ebb12c8fcc3ce2d20.jpg" style=""><span class="m-bg"></span><span>第1期</span></div><strong>你不知道的iPad技巧</strong><div class="m-sn"><span></span>3570次分享</div><a target="_blank" log="type:2019,module:article,page:index,pos:magzine-list,action:click,expGroup:G3" href="https://jingyan.baidu.com/magazine/6872"></a></li><li><div class="m-cv"><img class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/faf2b2119313b07e6d55d8230ed7912397dd8c35.jpg" style=""><span class="m-bg"></span><span>第1期</span></div><strong>win7电脑那些事</strong><div class="m-sn"><span></span>6236次分享</div><a target="_blank" log="type:2019,module:article,page:index,pos:magzine-list,action:click,expGroup:G3" href="https://jingyan.baidu.com/magazine/6454"></a></li><li><div class="m-cv"><img class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/18d8bc3eb13533fa663c6f8faad3fd1f40345b8d.jpg" style=""><span class="m-bg"></span><span>第2期</span></div><strong>新人玩转百度经验</strong><div class="m-sn"><span></span>1230次分享</div><a target="_blank" log="type:2019,module:article,page:index,pos:magzine-list,action:click,expGroup:G3" href="https://jingyan.baidu.com/magazine/17909"></a></li><li><div class="m-cv"><img class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/a08b87d6277f9e2f03fa39b41d30e924b999f3ba.jpg" style=""><span class="m-bg"></span><span>第1期</span></div><strong>Win8.1实用小技巧</strong><div class="m-sn"><span></span>2547次分享</div><a target="_blank" log="type:2019,module:article,page:index,pos:magzine-list,action:click,expGroup:G3" href="https://jingyan.baidu.com/magazine/17761"></a></li><li><div class="m-cv"><img class="" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/a8773912b31bb051c260489a347adab44aede038.jpg" style=""><span class="m-bg"></span><span>第1期</span></div><strong>小白装大神</strong><div class="m-sn"><span></span>1736次分享</div><a target="_blank" log="type:2019,module:article,page:index,pos:magzine-list,action:click,expGroup:G3" href="https://jingyan.baidu.com/magazine/17450"></a></li></ul></div></div><div class="wgt-like" id="wgt-like" style="top: 570.95px; display: block; left: 155px;"><div class="help-tip"></div><div class="btn-wrapper"><a class="like-btn" href="" id="like-btn" log="type:2019,module:article,page:article,pos:like-btn,action:click"><i></i><span class="like-num" id="like-num">0</span><span class="add-one" id="add-one" style="display:none;">+1</span></a><a class="dislike-btn" href="" id="dislike-btn" log="type:2019,module:article,page:article,pos:dislike-btn,action:click"><i></i></a></div><div class="like-feedback hide" id="like-feedback"><div class="feedback-content" id="feedback-content"></div><a href="" id="close-like-tip" class="close-like-tip"></a></div></div><script type="text/template" id="tpl-like"><div
 class="like-content"> <h1>非常高兴<br/>这篇经验帮到了你</h1> 
<p>您也可以分享自己的经验，<br/>帮助更多的人</p> <a href="/user/income" 
target="_blank">帮助更多的人 >></a> </div></script></section><footer class="footer">©2017Baidu&nbsp;&nbsp;<a href="http://www.baidu.com/duty/" target="_blank" rel="nofollow">使用百度前必读</a>&nbsp;&nbsp;<a href="http://www.baidu.com/search/jingyan_help.html#%E7%BB%8F%E9%AA%8C%E5%8D%8F%E8%AE%AE" target="_blank" rel="nofollow">百度经验协议</a>&nbsp;&nbsp;<a href="http://www.baidu.com/search/jingyan_editor.html" target="_blank" rel="nofollow">作者创作作品协议</a><script type="text/javascript">if(window.console){
 var cons = console; if(cons){ cons.log("这位看代码的童鞋，不如来和我们一起为百度经验添砖加瓦吧！");
 cons.log("有意求职者，请邮件至：%cjobs_zhidao@baidu.com 
%c(邮件请注明来自:console)","color:red;font-weight:bold;","color:#666"); } }</script></footer><script type="text/javascript">if(typeof
 PDC != 'undefined'){ PDC.init({ is_login : 1, sample : 0.2, product_id :
 132, page_id : 4 }); } F.context({ "common":'/common', "uoper": 
'/uoperation', "edit": '/edit/', "isVersionExist" : 
'/common/isVersionExist', "isLogin" : 1,  "isAdmin": 0, "isOriginal":1, 
"username": 'hwf452', "writerId": 'kandezuiyuan65', "followedNum": 0, 
"votedNum": 0, "totalVotedNum": 0, "maxFollowVote": 9999999, 
"ucFollowing": '/user/nuc/following', "ucFavorexp": 
'/user/nuc/favorexp', "eid": '6181c3e080f979152ef15387', "comment": 
'/comment/', "hi": 'http://hiphotos.baidu.com/exp/abpic/item/', 
"authorUname": 'kandezuiyuan65', "COMMENT_MAX_LEN" : "600", 
"REPLY_MAX_LEN": 200, "isFavor":0, "expFavorNum": 4, "ucFavorexp": 
'/user/nuc/favorexp', "title": 'ubuntu14.04安装nodejs基础环境', 
'push-tag-title': 'ubuntu14.04安装nodejs基础环境', "logo": 
'http://img.baidu.com/img/iknow/exp/logo_uui.jpg', "feedbackSuc": 0, 
"feedbackFail": 0, "MAX_SUC_FAIL_TIMES": 999999, "relateExpCount": 10, 
"relateTagPicCount": 0, "introduction":'热衷技术分享，共同进步', "resume": "", 
"isManual": "", "hasDownUrl": "", "downUrl": "", "nextSeries": "", 
"BdStoken" : "ce19a62742a34ee605ab622ec0a9a6d9", "bdstt" : "1500429564",
 "expGroup":'G2' });</script><script type="text/javascript">BAIDU_CLB_preloadSlots("706066","706067");</script><div id="wgt-exp-share" class="wgt-exp-share" style="position: fixed; bottom: 44px; right: 148.5px; display: block;"><div class="wrp-exp-share"><a id="w-share" class="w-share" href="javascript:void(0)"><span class="w-txt">分享</span></a><a id="w-favor" class="w-favor " href="javascript:void(0)" log="type:2019,module:article,page:index,pos:exp-share_favor,action:click"><span class="w-txt">收藏</span></a><a id="w-jmags" class="w-jmags" href="javascript:void(0)" log="type:2019,module:article,page:index,pos:exp-share_jmags,action:click"><span class="w-txt">加入<br>杂志</span></a><a id="w-gotop" class="w-gotop" href="javascript:void(0)" log="type:2019,module:article,page:index,pos:exp-share_gotop,action:click" style="visibility: visible;"><span class="w-txt">返回<br>顶部</span></a></div><div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare exp-share-wgt" style="display:none;"><a class="bds_tsina" id="bds_tsina_btn" log="type:2019,module:article,page:index,pos:exp-share_weibo,action:click" title="分享到新浪微博" href="#"><span class="w-txt">新浪<br>微博</span></a><a class="bds_qzone" log="type:2019,module:article,page:index,pos:exp-share_qzone,action:click" title="分享到QQ空间" href="#"><span class="w-txt">QQ<br>空间</span></a><a id="bds-weixin-btn" class="bds-weixin" log="type:2019,module:article,page:index,pos:exp-share_weixin,action:click" href="#"></a><a class="bds_tqq" log="type:2019,module:article,page:index,pos:exp-share_qweibo,action:click" title="分享到腾讯微博" href="#"><span class="w-txt">腾讯<br>微博</span></a><a class="bds_renren" log="type:2019,module:article,page:index,pos:exp-share_renren,action:click" title="分享到人人网" href="#"><span class="w-txt">人人</span></a><a class="bds_mshare" log="type:2019,module:article,page:index,pos:exp-share_all,action:click" title="分享到一键分享" href="#"><span class="w-txt">一键<br>分享</span></a></div><div id="weixin-wrap-wgt" class="wx-wrp-wgt"><div class="wx-arrow"><span>◆</span></div><div id="qrcode-wrp" class="qrcode-wrp" title="https://jingyan.baidu.com/article/6181c3e080f979152ef15387.html"><canvas width="104" height="104" style="display: none;"></canvas><img style="display: block;" src=""></div><span>请扫描分享到朋友圈</span></div></div><script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=5827690" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/bds_s_v2_005827c.js"></script><script type="text/javascript">function
 getImgsByClassName (className) { var all = 
document.getElementsByTagName('img'); var elements = new Array(); for 
(var e = 0; e < all.length; e++) { if 
(all[e].className.indexOf(className) > -1) { elements[elements.length] =
 all[e]; break; } } return elements; } var sharePicture,bds_config; var 
context = '';  var imgs = getImgsByClassName('exp-image-default'); 
if(imgs != null && imgs.length > 0){ sharePicture = 
imgs[0].getAttribute('data-src') || imgs[0].src; } sharePicture = 
sharePicture || 
'//exp.bdstatic.com/static/article/widget/img-baidu-com/logo_beta_normal_97f4ce9.jpg';
 var shareText = document.title.replace(/_百度经验$/,'')+'_分享自@百度经验'; 
bds_config = { bdMiniWindow : 1, 'snsKey':{ 'tsina':'1214333208' }, 
'bdText':shareText, 'bdPic':sharePicture, 'searchPic' : 0, 
'weiboText':context }; document.getElementById('bdshell_js').src = 
'//exp.bdstatic.com/static/article/lib/share/shell_v2_a1de90e.js';</script><div id="top-nav-bar" class="top-nav-bar" style="position: fixed; top: 0px; display: block;"><div class="container"><a href="https://jingyan.baidu.com/user/nuc/expList" target="_blank" class="top-uname">hwf452</a><div class="container2"><a class="toplogo" href="https://jingyan.baidu.com/" title="百度经验"></a><div class="topsearch"><div id="topsubmit" class="topsubmit" title="搜索经验"></div><form action="/search" method="get" target="_self" id="ftop"><input id="topword" class="toptextinput" name="word" autocomplete="off" type="text"></form></div><div class="topbtns"><a class="topbtn votebtn" href=""><span id="top-vote-num">6</span></a><a id="top-favo-btn" class="topbtn favobtn"></a></div></div></div></div></div><script>
	if(typeof(alog) !== 'undefined'){
    	alog('speed.set', 'drt', +new Date); 
    }//请利用js框架在domreday时调用该代码，或在body的尾部
</script>
<script>
    void function(a,b,c,d,e,f){function 
g(b){a.attachEvent?a.attachEvent("onload",b,!1):a.addEventListener&&a.addEventListener("load",b)}function
 h(a,c,d){d=d||15;var e=new Date;e.setTime((new 
Date).getTime()+1e3*d),b.cookie=a+"="+escape(c)+";path=/;expires="+e.toGMTString()}function
 i(a){var c=b.cookie.match(new RegExp("(^| )"+a+"=([^;]*)(;|$)"));return
 null!=c?unescape(c[2]):null}function j(){var 
a=i("PMS_JT");if(a){h("PMS_JT","",-1);try{a=a.match(/{["']s["']:(\d+),["']r["']:["']([\s\S]+)["']}/),a=a&&a[1]&&a[2]?{s:parseInt(a[1]),r:a[2]}:{}}catch(c){a={}}a.r&&b.referrer.replace(/#.*/,"")!=a.r||alog("speed.set","wt",a.s)}}if(a.alogObjectConfig){var
 
k=a.alogObjectConfig.sample,l=a.alogObjectConfig.rand;d="https:"===a.location.protocol?"https://fex.bdstatic.com"+d:"http://fex.bdstatic.com"+d,k&&l&&l>k||(g(function(){alog("speed.set","lt",+new
 Date),e=b.createElement(c),e.async=!0,e.src=d+"?v="+~(new 
Date/864e5)+~(new 
Date/864e5),f=b.getElementsByTagName(c)[0],f.parentNode.insertBefore(e,f)}),j())}}(window,document,"script","/hunter/alog/dp.min.js");
</script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_sync_js_0_9613c7a.js"></script>
<script type="text/javascript">require.resourceMap({"res":{"common-jquery:widget/lib/jquery/jquery.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/lib/jquery/jquery_250bf24.js","pkg":"common-jquery:p1"},"common:widget/lib/tangram/fx/move/move.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/fx/move/move_4f6a3cf.js","pkg":"common:p1","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/fx/create/create.js"]},"common:widget/ui/red-bao/red-bao.js":{"url":"//exp.bdstatic.com/static/common/widget/ui/red-bao/red-bao_d2adb02.js","pkg":"common:p11","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/dialog/dialog.js"]},"common:widget/lib/tangram/ui/Carousel/Carousel.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/ui/Carousel/Carousel_9ed0987.js","pkg":"common:p2","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/uiBase/uiBase.js"]},"activity:widget/ui/redbox/redbox.js":{"url":"//exp.bdstatic.com/static/activity/widget/ui/redbox/redbox_58a8c80.js","pkg":"activity:p2","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/dialog/dialog.js"]},"common-jquery:widget/lib/baidutemplate/baidutemplate.min.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/lib/baidutemplate/baidutemplate.min_d875663.js","pkg":"common-jquery:p3"},"common-jquery:widget/js/ui/base/base.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/js/ui/base/base_366a7b8.js","pkg":"common-jquery:p2","deps":["common-jquery:widget/lib/jquery/jquery.js","common-jquery:widget/js/util/event/event.js"]},"common:widget/lib/tangram/base/base.js":{"url":"//exp.bdstatic.com/static/common/widget/lib/tangram/base/base_e37cc01.js","pkg":"common:p0"},"common:widget/ui/image-lazy-loader/image-lazy-loader.js":{"url":"//exp.bdstatic.com/static/common/widget/ui/image-lazy-loader/image-lazy-loader_97a5ef9.js","pkg":"common:p12","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/image-lazy-loader/base.js","common:widget/lib/tangram/fx/fadeIn/fadeIn.js"]},"common:widget/ui/sug/sug.js":{"url":"//exp.bdstatic.com/static/common/widget/ui/sug/sug_680d5bf.js","pkg":"common:p12","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/cookie/cookie.js","common:widget/lib/tangram/ui/Suggestion/Suggestion.js","common:widget/ui/log/log.js","common:widget/lib/tangram/ui/Suggestion/coverable/coverable.js","common:widget/lib/tangram/ui/Suggestion/data/data.js","common:widget/lib/tangram/ui/Suggestion/fixWidth/fixWidth.js","common:widget/lib/tangram/ui/Suggestion/input/input.js"]},"article:widget/exp-title/exp-title.js":{"url":"//exp.bdstatic.com/static/article/widget/exp-title/exp-title_78d994e.js","pkg":"article:p0","deps":["common:widget/ui/ajax/ajax.js","common-jquery:widget/js/logic/https/https.es"]},"common-jquery:widget/js/logic/log/log.js":{"url":"//exp.bdstatic.com/static/common-jquery/widget/js/logic/log/log_c6b7001.js","deps":["common-jquery:widget/lib/jquery/jquery.js","common-jquery:widget/lib/jquery.plugins/string.js"]},"article:widget/ui/article-log/article-log.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/article-log/article-log_c6743f7.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/log/log.js"]},"article:widget/ui/auto-app/auto-app.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/auto-app/auto-app_e7463c8.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/log/log.js"]},"article:widget/ui/auto-locate-pic/auto-locate-pic.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/auto-locate-pic/auto-locate-pic_bd81efb.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","common:widget/ui/dialog/dialog.js","common:widget/lib/fis/event/event.js"]},"article:widget/ui/image-lazy-loader/base.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/image-lazy-loader/base_25dddb6.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js"]},"article:widget/ui/image-lazy-loader/image-lazy-loader.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/image-lazy-loader/image-lazy-loader_ed63f16.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","article:widget/ui/image-lazy-loader/base.js","common:widget/lib/tangram/fx/fadeIn/fadeIn.js"]},"article:widget/ui/lazyload/lazyload.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/lazyload/lazyload_2daf7eb.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/fx/fadeIn/fadeIn.js","common:widget/lib/fis/event/event.js"]},"article:widget/ui/step-num/step-num.js":{"url":"//exp.bdstatic.com/static/article/widget/ui/step-num/step-num_a5b98c6.js","pkg":"article:p4","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/fis/event/event.js"]},"article:widget/cms-banner-ads/cms-banner-ads.js":{"url":"//exp.bdstatic.com/static/article/widget/cms-banner-ads/cms-banner-ads_500fd28.js","pkg":"article:p1","deps":["common:widget/lib/tangram/base/base.js","common:widget/lib/tangram/fx/fadeIn/fadeIn.js","common:widget/lib/tangram/fx/fadeOut/fadeOut.js"]}},"pkg":{"common:p12":{"url":"//exp.bdstatic.com/static/common/pkg/common_async_js_1_27a4959.js"},"article:p4":{"url":"//exp.bdstatic.com/static/article/pkg/article_async_js_0_736b9a6.js"}}});</script><script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_async_js_0_28055ad.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_sync_js_1_e78a105.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/common_sync_js_2_fa2e9a7.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/comment_abec2cc.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/framework_3837307.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/shimingzhi_4f92ad8.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/more_ee48533.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/base_21ddb49.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/type_1800090.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/querystring_5a8a26f.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/url_01e4bf7.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/https_47e4f73.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/uri_40ddff7.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/audio-list_c5345f0.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/text2audio_56668f7.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/return_60f55cc.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/article_sync_js_0_8458a04.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/custom-style_b3ebf8e.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/accuse_c52fe9b.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/article_sync_js_1_500fd28.js"></script>
<script type="text/javascript" src="ubuntu14.04%E5%AE%89%E8%A3%85nodejs%E5%9F%BA%E7%A1%80%E7%8E%AF%E5%A2%83_%E7%99%BE%E5%BA%A6%E7%BB%8F%E9%AA%8C_files/dom-ready_be832f7.js"></script>
<script type="text/javascript">!function(){require.async('common:widget/baidu-tongji/baidu-tongji.js',
 function(b){ b.init('25689529633241656138'); });}();
!function(){ require.async(['common:widget/lib/tangram/base/base.js', 
'common:widget/userbar/userbar.js'], function(T,userbar){ 
T.dom.ready(function(){ userbar.statusMsg("hwf452"); if 
(T.g("usrbar-logout")) { if(location.href.indexOf("/user/nuc") 
>-1||location.href.indexOf("/user/npublic") >-1){ 
T.g("usrbar-logout").href = 
"http://passport.baidu.com/?logout&aid=7&u=http://jingyan.baidu.com"; 
}else{ T.g("usrbar-logout").href = 
"http://passport.baidu.com/?logout&aid=7&u="+escape(location.href); } } 
}) }); }();
!function(){require.async(["common:widget/ui/sug/sug.js", 
"common:widget/lib/tangram/base/base.js", 
"common:widget/ui/cookie/cookie.js"],function(sug,T,cookie){ 
T.dom.ready(function(){ if(cookie.get("EXP_HIDESUG")!="1"){ 
sug.init("kw"); } }); }); 
require.async(["common:widget/lib/tangram/base/base.js", 
"common:widget/ui/log/log.js"], function(T,log){ window.T = T; 
T.dom.ready(function(){ var channelEls = T.dom.query(".channel a"); 
T.each(channelEls, function(item, key) { var logParams = 
T.dom.getAttr(item, 'log'); if (logParams) { T.on(item, 'mousedown', 
function(ev) { var logJson = T.json.parse("({"+logParams+"})"); 
log.imageReq("http://jingyan.baidu.com/static/article/ui/log/log.gif?type=top_tab_click&menu="+
 logJson['menu'] +"&t=" + (new Date()).getTime()); }); } }); }); });}();
!function(){require.async(['common:widget/lib/tangram/base/base.js', 
'common:widget/nav/nav.js'], function(T, nav){ var hiddenCategoryId = 
"category-list-e"; T.dom.ready(function(){ nav.init(); }); });}();
!function(){require.async(['common:widget/lib/tangram/base/base.js', 
'article:widget/exp-title/exp-title.js'], function(T, title){ 
T.dom.ready(function(){ if(T.dom.g("ver-edt")){ 
T.event.on("ver-edt","click",function(event){ 
title.editNewVersion(F.context("eid")); T.event.stop(event); }); } }); 
});}();
!function(){require.async(['common:widget/lib/tangram/base/base.js', 
'article:widget/thumbs/thumbs.js', 
'common-jquery:widget/js/logic/log/log.js', 
'common-jquery:widget/lib/jquery/jquery.js'],function(T, thumbs, nslog, 
$){ T.dom.ready(function(){ thumbs.init(); }); $('.wgt-thumbs 
.zoom-wrap').on('click', function() { nslog.send(location.href, 2019, { 
module: 'article', page: 'index', pos: 'wgt-thumbs', action: 'click', 
videoGroup: '' }); }); $('.wgt-thumbs .step-read').on('click', 
function() { nslog.send(location.href, 2019, { module: 'article', page: 
'index', pos: 'step-read', action: 'click', videoGroup: '' }); }); 
});}();
!function(){require.async('article:widget/ui/auto-app/auto-app.js', 
function(app){ app.init('ubuntu14.04安装nodejs基础环境','ubuntu14.04nodejs'); 
})}();
!function(){require.async(["common:widget/lib/tangram/base/base.js", 
"article:widget/content/detail/detail.js", 
"article:widget/ui/lazyload/lazyload.js", 
"common-jquery:widget/js/logic/log/log.js", 
"common-jquery:widget/lib/jquery/jquery.js"],function(T, detail, 
lazyloader, nslog, $){ T.dom.ready(function(){ detail.init(); 
lazyloader({ imgCls : "lazy-load-img", container : "exp-detail" }); }); 
$('.exp-content .exp-image-wraper').on('click', function() { 
nslog.send(location.href, 2019, { module: 'article', page: 'index', pos:
 'exp-image-wraper', action: 'click', videoGroup: '' }); }); });}();
!function(){require.async('article:widget/content/impeach/impeach.js', 
function (T) { });}();
!function(){require.async('article:widget/comments/exp-hads/exp-hads.js',
 function(comments){});}();
!function(){F.context({ 'portrait': 
'https:\/\/himg.bdimg.com\/sys\/portrait\/item\/cff0687766343532cb25', 
'feel_num': 0, 'ques_done_num': 0, 'noCommentCode': 0 }); 
require.async(['common:widget/lib/tangram/base/base.js', 
'article:widget/comments/comments.js'], function(T, comments){ });}();
!function(){require.async('article:widget/relate-explist/relate-explist.js',
 function(r){ 
r.init([{"eidEnc":"546ae1851c6ac81149f28c9a","title":"ubuntu14.04 
xfce\u684c\u9762\u73af\u5883\u5b89\u88c5\u914d\u7f6e","createTime":"2014.08.14","firstimg":"245e8bcad1c8a7868550322a6409c93d70cf5058","voteNum":4,"releaseTime":1408012125},{"eidEnc":"25648fc18ee5bd9190fd0058","title":"Linux(ubuntu16.04)\u4e0b\u5b89\u88c5nodejs\u53ca\u914d\u7f6e\u73af\u5883\u53d8\u91cf","createTime":"2016.05.05","firstimg":"","voteNum":1,"releaseTime":1462448265},{"eidEnc":"a948d6515d4c850a2dcd2e18","title":"nodejs\u5b89\u88c5\u53ca\u73af\u5883\u914d\u7f6e\uff08windows\u7cfb\u7edf\uff09","createTime":"2014.01.20","firstimg":"d1571724ab18972bd91e86a5e4cd7b899e510a7d","voteNum":41,"releaseTime":1390201254},{"eidEnc":"3aed632e0c88fd70108091b2","title":"eclipse\u5b89\u88c5nodeclipse(nodejs\u96c6\u6210\u5f00\u53d1\u73af\u5883)","createTime":"2015.10.25","firstimg":"8c511fe93901213fe1b17b5452e736d12e2e957c","voteNum":11,"releaseTime":1445740119},{"eidEnc":"fcb5aff7b0dc26edaa4a71f4","title":"ubuntu14.10\u5b89\u88c5gnome\u684c\u9762\u73af\u5883\u548cdock\u5de5\u5177","createTime":"2014.12.09","firstimg":"8b527d2762d0f703840a57970bfa513d2797c586","voteNum":9,"releaseTime":1418098631},{"eidEnc":"47a29f2434ff15c014239992","title":"64\u4f4dubuntu14.04\u642d\u5efa\u5b89\u5353\u5f00\u53d1\u73af\u5883","createTime":"2014.07.22","firstimg":"5af4d7ea15ce36d3dcc786fd38f33a87eb50b1f8","voteNum":7,"releaseTime":1406016183},{"eidEnc":"db55b609909c084ba20a2f5e","title":"virtualbox\u865a\u62df\u673a\u5b89\u88c5ubuntu14.04","createTime":"2014.10.04","firstimg":"73ca5910b912c8fca2fd84bdff039245d6882170","voteNum":13,"releaseTime":1412414191},{"eidEnc":"d2b1d1027ec8d85c7e37d492","title":"ubuntu14.04
 
mac\u4e3b\u9898\u5b89\u88c5\u914d\u7f6e\u56fe\u6587\u8be6\u89e3","createTime":"2014.08.14","firstimg":"c87c6ecf3bc79f3d527b2713b9a1cd11728b2938","voteNum":16,"releaseTime":1408281368},{"eidEnc":"b87fe19e9ae29b5219356846","title":"ubuntu14
 \u7cfb\u5217\u5b89\u88c5\u5b89\u88c5jdk 
\u53ca\u73af\u5883\u53d8\u91cf\u914d\u7f6e","createTime":"2015.07.26","firstimg":"","voteNum":0,"releaseTime":1437862465},{"eidEnc":"eb9f7b6d8f82a6869364e8a7","title":"ubuntu14.04\u5b89\u88c5\u914d\u7f6ejdk1.8.0_25","createTime":"2014.12.11","firstimg":"7d98931001e939016ed8b47078ec54e737d19662","voteNum":12,"releaseTime":1418287774}]);
 });}();
!function(){require.async('article:widget/ad/bottom-ads/bottom-ads.js', 
function(dd){ dd.init(); });}();
!function(){require.async(['common:widget/lib/tangram/base/base.js', 
'article:widget/income-money/digital/digital.js'], function(T, digital){
 window.digital = digital; T.dom.ready(function(){ var d = new digital({
 containerId: "income-money-num", num: 156.68, realtimeUpdate: 1, 
addInterval: 2000 }); }); });}();
!function(){require.async(['common:widget/ui/user/introduction/introduction.js',
 'common:widget/ui/user/resume/resume.js', 
'common:widget/lib/tangram/base/base.js', 
'article:widget/author/author.js', 
'article:widget/ui/image-lazy-loader/image-lazy-loader.js'],function(intro,resume,T,author){
 T.dom.ready(function(){ if(T.dom.g("modify-resume")){ 
resume.init("modify-resume"); } author.initFollow("follow-user-e"); }); 
});}();
!function(){require.async(["common:widget/lib/tangram/base/base.js", 
"common:widget/ui/log/log.js"], function(T, Log){ 
T.dom.ready(function(){ Log.send(location.href, 2021, { 'ads': 'qb_pv' 
}); if(T.dom.query('div', T.g('BAIDU_AD_706066')).length == 0){ 
Log.send(location.href, 2021, { ads: 'wm_block' }); } }); });}();
!function(){require.async(["common:widget/lib/tangram/base/base.js"],function(T){
 T.dom.ready(function(){ 
T.event.on(T.dom.q('tousu-address')[0],'click',function(e){ 
T.event.getTarget(e).href = "http://tousu.baidu.com/jingyan/add?link=" +
 window.top.location.href + "#2"; }) }); });}();
!function(){ F.context('relateExp', { count: 10, list: 
[{"eidEnc":"546ae1851c6ac81149f28c9a","title":"ubuntu14.04 
xfce\u684c\u9762\u73af\u5883\u5b89\u88c5\u914d\u7f6e","createTime":"2014.08.14","firstimg":"245e8bcad1c8a7868550322a6409c93d70cf5058","voteNum":4,"releaseTime":1408012125},{"eidEnc":"25648fc18ee5bd9190fd0058","title":"Linux(ubuntu16.04)\u4e0b\u5b89\u88c5nodejs\u53ca\u914d\u7f6e\u73af\u5883\u53d8\u91cf","createTime":"2016.05.05","firstimg":"","voteNum":1,"releaseTime":1462448265},{"eidEnc":"a948d6515d4c850a2dcd2e18","title":"nodejs\u5b89\u88c5\u53ca\u73af\u5883\u914d\u7f6e\uff08windows\u7cfb\u7edf\uff09","createTime":"2014.01.20","firstimg":"d1571724ab18972bd91e86a5e4cd7b899e510a7d","voteNum":41,"releaseTime":1390201254},{"eidEnc":"3aed632e0c88fd70108091b2","title":"eclipse\u5b89\u88c5nodeclipse(nodejs\u96c6\u6210\u5f00\u53d1\u73af\u5883)","createTime":"2015.10.25","firstimg":"8c511fe93901213fe1b17b5452e736d12e2e957c","voteNum":11,"releaseTime":1445740119},{"eidEnc":"fcb5aff7b0dc26edaa4a71f4","title":"ubuntu14.10\u5b89\u88c5gnome\u684c\u9762\u73af\u5883\u548cdock\u5de5\u5177","createTime":"2014.12.09","firstimg":"8b527d2762d0f703840a57970bfa513d2797c586","voteNum":9,"releaseTime":1418098631},{"eidEnc":"47a29f2434ff15c014239992","title":"64\u4f4dubuntu14.04\u642d\u5efa\u5b89\u5353\u5f00\u53d1\u73af\u5883","createTime":"2014.07.22","firstimg":"5af4d7ea15ce36d3dcc786fd38f33a87eb50b1f8","voteNum":7,"releaseTime":1406016183},{"eidEnc":"db55b609909c084ba20a2f5e","title":"virtualbox\u865a\u62df\u673a\u5b89\u88c5ubuntu14.04","createTime":"2014.10.04","firstimg":"73ca5910b912c8fca2fd84bdff039245d6882170","voteNum":13,"releaseTime":1412414191},{"eidEnc":"d2b1d1027ec8d85c7e37d492","title":"ubuntu14.04
 
mac\u4e3b\u9898\u5b89\u88c5\u914d\u7f6e\u56fe\u6587\u8be6\u89e3","createTime":"2014.08.14","firstimg":"c87c6ecf3bc79f3d527b2713b9a1cd11728b2938","voteNum":16,"releaseTime":1408281368},{"eidEnc":"b87fe19e9ae29b5219356846","title":"ubuntu14
 \u7cfb\u5217\u5b89\u88c5\u5b89\u88c5jdk 
\u53ca\u73af\u5883\u53d8\u91cf\u914d\u7f6e","createTime":"2015.07.26","firstimg":"","voteNum":0,"releaseTime":1437862465},{"eidEnc":"eb9f7b6d8f82a6869364e8a7","title":"ubuntu14.04\u5b89\u88c5\u914d\u7f6ejdk1.8.0_25","createTime":"2014.12.11","firstimg":"7d98931001e939016ed8b47078ec54e737d19662","voteNum":12,"releaseTime":1418287774}]
 });  require.async('article:widget/like/like.js');}();
!function(){(function() { try { 
document.execCommand("BackgroundImageCache", false, true); } catch(err) 
{} require.async(['common:widget/lib/tangram/base/base.js', 
'common:widget/ui/login/login.js', 'common:widget/ui/msg/msg.js', 
'common:widget/ui/top-search-box/top-search-box.js', 
'common:widget/ui/log/log.js'], function(T,login,msg,search,log) { 
T.dom.ready( function() { msg.init(); search.init(); log.init({ query : 
'a', evtType : 'mousedown' }); }); });  F.context({ "isLogin" : 1, "hi":
 "http://hiphotos.baidu.com/exp/abpic/item/", 
"msg_income":{'stamp':'3','msg':'最低提现金额调整为100
元！','link':'http://tieba.baidu.com/p/2741283298'}, "msg_topic":[], 
"sfr": "63b3adb3084e5659d8e78bcaed561062" });  F.context({ 
'submit_follow' : '/submit/follow', 'submit_vote' : '/submit/vote', 
'submit_author' : '/submit/author', 'submit_user' : '/submit/user', 
'submit_favor' : '/submit/favor', 'submit_notice' : '/submit/notice', 
'common_isLogin' : '/common/isLogin', 'common_isVersionExist' : 
'/common/isVersionExist', 'common_isTitleValid' : 
'/common/isTitleValid', 'common_needToTitle' : '/common/needToTitle', 
'asyncreq' : '/asyncreq', 'submit_comment' : '/submit/comment', 
'submit_feedback' : '/submit/exp' }); })();}();
!function(){require.async('article:widget/dom-ready/dom-ready.js', 
function (dr) { dr.init(); });}();
!function(){ require.async(["common:widget/lib/tangram/base/base.js", 
'common:widget/lib/fis/event/event.js'], function(T, EC){ var ec = 
EC.eventCenter; T.dom.ready(function(){    
T.on(window,'scroll',function(){ ec.fire('like.show'); });  }); }); 
require.async(['article:widget/ui/article-log/article-log.js'],function(articleLog){
 articleLog.init(); });  
require.async('article:widget/ui/step-num/step-num.js',function(stepNum){
 stepNum.init(); }); }();
!function(){require.async(['common:widget/lib/tangram/base/base.js', 
'article:widget/exp-share/exp-share.js'], function(T, expShare){ 
T.dom.ready(function(){ expShare.init(); }); });}();
!function(){require.async(['article:widget/top-nav-bar/top-nav-bar.js'],
 function(navbar){ navbar.init(); });}();
!function(){  require.async('common:widget/ui/log/log.js', 
function(log){ log.send(location.href, 2019, { module: 'article', page: 
'index', pos: 'all', action: 'pv', videoGroup: '' }); });}();
!function(){        
require.async('common-jquery:widget/js/logic/https/https.es', function 
(https) {
            // 自动修复https里的超链接
            https.autoFixAnchor();
        });
    }();
!function(){    function monitorHTTPWarning(ignore) {
        var cache = {};

        var selector = ['link', 'script', 'img', 'embed', 'iframe'];
        var knownHost = ['jingyan.baidu.com', 'hm.baidu.com', 
'exp.bdstatic.com', 'himg.bdimg.com', 'img.baidu.com', 'kstj.baidu.com',
 'hiphotos.baidu.com'];

        function monitor() {
            selector.reduce(function (partial, v) {
                var arr = document.getElementsByTagName(v);
                for (var i = 0, len = arr.length; i < len; i++) {
                    partial.push(arr[i]);
                }
                return partial;
            }, [])
            .forEach(function (v) {
                var url = v.href || v.src || '';
                // 只统计http开头
                if (url.indexOf('http:') !== 0) {
                    return 1;
                }

                // 避免重复发请求
                if (cache[url]) {
                    cache[url] += 1;
                    return 2;
                }
                
                // 忽略已知域名
                if (ignore && knownHost.some(function (v) {return 
~url.indexOf(v)})) {
                    return 3;
                }
                cache[url] = 1;
                var img = new Image();
                img.src = '//kstj.baidu.com/v.gif?'
                    + 
'pid=180&type=2000&module=common&page=https&action=warning&t=' + 
Date.now()
                    + '&curl=' + encodeURIComponent(location.href)
                    + '&rurl=' + encodeURIComponent(url)
            });
        }

        // 1 8 27 64 125
        for(var i = 1; i < 6; i++) {
            (function (i){
                setTimeout(function(){
                    monitor();
                }, i*i*i*1000);
            })(i);
        }
    }

    if (Math.floor(Math.random() * 100) < 100) {
        monitorHTTPWarning(0);
    }
}();</script><div style="position: absolute; display: none; left: 310px; top: 516px; width: 362px;" class="tangram-topwordsug-main" id="tangram-topWordSug--TANGRAM$3-main" data-guid="TANGRAM$3"><div id="tangram-topWordSug--TANGRAM$3" class="tangram-topwordsug" style="position:relative; top:0px; left:0px"></div></div>
<script> var _trace_page_logid = 3564506879; </script><div style="position: absolute; display: none; left: 361px; top: 76px; width: 510px;" class="tangram-suggestion-main" id="tangram-suggestion--TANGRAM$5-main" data-guid="TANGRAM$5"><div id="tangram-suggestion--TANGRAM$5" class="tangram-suggestion" style="position:relative; top:0px; left:0px"></div></div><div id="exp-step-nav" style="width: 32px; visibility: visible; position: fixed; top: 44px; left: 209px;"><div class="order-ico-group" id="ico-group-0" style="display: block;"><a class="list-icon-link" style="" title="点击返回第1步">1</a><a class="list-icon-link" style="" title="点击返回第2步">2</a><a class="list-icon-link list-icon-current" style="" title="点击返回第3步">3</a><a class="list-icon-link" style="display: none;" title="点击返回第4步">4</a><a class="list-icon-link" style="display: none;" title="点击返回第5步">5</a><a class="list-icon-link" style="display: none;" title="点击返回第6步">6</a><a class="list-icon-link" style="display: none;" title="点击返回第7步">7</a><a class="list-icon-link" style="display: none;" title="点击返回第8步">8</a></div></div></body></html>
<!--35645068790344270346071909-->